package com.opoc.service;

import com.opoc.pojo.Report;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @program: opoc
 * @description: 检测报告
 * @author: lyx
 * @create: 2023-10-26 14:46
 */
public interface ReportService {
    /*
    * 基本信息*/
    List<Report> getReportInfo(String company_id,String company_name,String contacts);

     /**
      * 添加检测报告
      * */

    String addReport(String company_id, String date, String people, String report_file);


  /*
  * 删除检测报告*/
    String deleteReport(List<String> company_ids);

    /*
    * 上传检测报告
    * */
    Map<String,String> uploadFile(String company_id, MultipartFile report_file);

/*
* 下载检测报告
* */
    ResponseEntity<byte[]> downloadFile(String company_id) throws IOException;
}


